<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 菜单信息
 */
return [
  [
    'title' => '商品',
    'icon' => 'fa fa-fw fa-location-arrow',
    'url_type' => 'module',
    'url_value' => 'goods/product/index',
    'url_target' => '_self',
    'online_hide' => 0,
    'sort' => 100,
    'child' => [
      [
        'title' => '商品管理',
        'icon' => 'fa fa-fw fa-archive',
        'url_type' => 'module',
        'url_value' => '',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' => [
          [
            'title' => '商品列表',
            'icon' => 'fa fa-fw fa-th',
            'url_type' => 'module',
            'url_value' => 'goods/product/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 0,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/product/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
            ],
          ],
          [
            'title' => '商品款类',
            'icon' => 'fa fa-fw fa-server',
            'url_type' => 'module',
            'url_value' => 'goods/category/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 1,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/category/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/category/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
              ],
            ],
          ],
          [
            'title' => '商品分类',
            'icon' => 'fa fa-fw fa-align-justify',
            'url_type' => 'module',
            'url_value' => 'goods/goodstype/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 2,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/goodstype/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/goodstype/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
              ],
            ],
          ],
          [
            'title' => '品牌列表',
            'icon' => 'fa fa-fw fa-diamond',
            'url_type' => 'module',
            'url_value' => 'goods/brand/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 3,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/brand/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/brand/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
              ],
            ],
          ],
          [
            'title' => '颜色列表',
            'icon' => 'fa fa-fw fa-tachometer',
            'url_type' => 'module',
            'url_value' => 'goods/color/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 4,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/color/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/color/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
              ],
              [
                'title' => '新增尺码',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/color/addcolor',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 3,
              ],
              [
                'title' => '查看颜色',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/color/colorlist',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 4,
              ],
              [
                'title' => '修改颜色',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/color/editcolor',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 5,
              ],
            ],
          ],
          [
            'title' => '尺码列表',
            'icon' => 'fa fa-fw fa-deaf',
            'url_type' => 'module',
            'url_value' => 'goods/size/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 5,
            'child' => [
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/size/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 1,
              ],
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/size/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 2,
              ],
              [
                'title' => '查看尺码',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/size/sizelist',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
              [
                'title' => '新增尺码',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/size/addsize',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
              [
                'title' => '修改尺码',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/size/editsize',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
            ],
          ],
          [
            'title' => '人群列表',
            'icon' => 'fa fa-fw fa-users',
            'url_type' => 'module',
            'url_value' => 'goods/crowd/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 100,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/crowd/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/crowd/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
            ],
          ],
          [
            'title' => '单位列表',
            'icon' => 'fa fa-fw fa-tint',
            'url_type' => 'module',
            'url_value' => 'goods/unit/index',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 100,
            'child' => [
              [
                'title' => '新增',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/unit/add',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
              [
                'title' => '修改',
                'icon' => '',
                'url_type' => 'module',
                'url_value' => 'goods/unit/edit',
                'url_target' => '_self',
                'online_hide' => 0,
                'sort' => 100,
              ],
            ],
          ],
        ],
      ],
    ],
  ],
];
